import request from '@/utils/request'

// 导出
export function outPutSalaryReportList(query) {
  return request({
    url: '/outPutSalaryReportList',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}

// 导入
export function Import(data) {
  const config = {
    'Content-Type': 'mutipart/form-data;boundary=' + new Date().getTime()
  }
  return request({
    url: '/ImportSalaryReportList',
    type: 'upload',
    method: 'post',
    data,
    config
  })
}
export function payeeImport(data) {
  const config = {
    'Content-Type': 'mutipart/form-data;boundary=' + new Date().getTime()
  }
  return request({
    url: '/allImportSalaryReportList',
    type: 'upload',
    method: 'post',
    data,
    config
  })
}


